import java.util.Random;
import java.util.Arrays;
import cn.edu.besti.cs2023.W2321.newSorting_Maru;
public class test {
    public static void main(String[] args) {
        newSorting_Maru jinding=new newSorting_Maru();
        Random random=new Random();
        int[] array=new int[10];
        for (int i=0;i<array.length;i++){
            array[i]=random.nextInt(100)+1;
        }
        System.out.println(Arrays.toString(array));

        int[] array1=jinding.selectionSort(array);
        System.out.println(Arrays.toString(array1));
    }
}
